package pers.lls.im.model;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 功能描述：
 *
 * @author lihuan
 * @version V1.0 创建时间：2019/10/30 11:11
 * Copyright 2019 by landray & STIC
 */
@Data
@Entity
@TableName("UNREAD_MESSAGE")
//@Table
public class UnReadMessage {

    @Id
    @Column(columnDefinition="VARCHAR (50)")
    private String id;

    @Column(columnDefinition="VARCHAR (50)")
    private String fromId;

    @Column(columnDefinition="VARCHAR (50)")
    private String toId;

    @Column(columnDefinition="int")
    private Integer total;
}
